package com.czxy.tanhua.dubbo.api;

import com.czxy.tanhua.mongo.Movement;
import com.czxy.tanhua.vo.PostUpdateVo;
import com.czxy.tanhua.vo.PublicPageVo;
import com.czxy.tanhua.vo.ResultList;
import org.bson.types.ObjectId;

import java.util.List;

/**
 * @Author 爱吃豆的土豆、
 * @Date 2023/4/8 13:48
 */
public interface MovementApi {
    public ResultList findmovements(Long userid, PublicPageVo publicPageVo);

    void fabudongtai(PostUpdateVo postUpdateVo, Long userId, String mobile);

    ResultList friendmovements(PublicPageVo publicPageVo,Long Userid);

    ResultList recommendmovements(String[] pidList, PublicPageVo publicPageVo);

    Movement findmovement(ObjectId id);

    List<Movement> randomMovements(Integer count);

    Movement likemovement(ObjectId id);

    Movement dislikemovement(ObjectId id);

    Movement loveemovement(ObjectId id);

    Movement unlovemovement(ObjectId id);
}
